from django import forms
from comment.models import Comment



class CommentForm(forms.ModelForm):
    class Meta:
        model=Comment   #继承于Comment的样式
        fields=('comment_person','comment_date','comment_content','comment_movie') #确认表中的字段


